<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>mongoDB管理</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"><!-- 确保适当的绘制和触屏缩放 -->
    <link rel="stylesheet" href="{$url_css}/bootstrap.min.css" type="text/css">
    <script type="text/javascript" src="{$url_js}jquery-1.12.0.min.js"></script>
</head>
<body>
    <div class="container" style="width:96%">
        <form action="">
            <table class="table table-bordered table-striped" align="center">
                <tbody>
                    <tr><td colspan="5"><h5>mongoDB管理</h5></td></tr>

                    <tr align="center">
                        <td width="12%">名称</td>
                        <td width="12%">数据库名称</td>
                        <td width="6%">操作</td>
                    </tr>
                    {if !empty($list)}
                        {foreach $list as $k =>$v}
                            <tr align="center" >
                                <td>{$v.name}</td>
                                <td>{$v.db}</td>
                                <td>
                                    <a class="btn btn-primary" href="?do=Search&db={$v.db}">查看</a>
                                </td>
                            </tr>
                        {/foreach}
                    {/if}
                </tbody>
            </table>
        </form>
    </div>
    {literal}
        <script>

        </script>
    {/literal}
</body>
</html>